SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6baac4aaca7a85c43ad7631cac856b4af4871b6078eba04354bdcbfb3057e064' 
  AND token = 'f/YGRlKiKmlQse9Kc/pZcpwRN/e0Ju9rmkXT8BgGIH4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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