SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8bae504a0fdf743072b39a03c1641b5d09d62db664ecbae16eb0e45c336ff2e' 
  AND token = 'j7SFr5zllqhlT5WUuF6ERaLyrMnzGpGFOBE/cLSOZnk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}