SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'efa28dcca92977a95234bc7d8a7397b53cbac6f884f4d00ac9e7b271e9522a74' 
  AND token = 'HJj2BrQ1AjZPs6Ksp97TUvYXzHiPyqW3MnPLXL6WWsg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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