SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a56a42e107edd4adaad3cee10042d9ab63836f03b95a5eb6e18d1eef0dc1bf4d' 
  AND token = 'KpUs57n3x4wN+FZPxq2wyIcFXUaJn94RB0l/JxbhIt8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}