SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77e4076dc03e1f439fa2da153198471bc09309fc49d405084b1388aa86db0e03' 
  AND token = 'RCi3jA6W7GRZdUVezrU/i66n1yXdeBxmhfOwYs1vKQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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