SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '564ffb44990e1af3a2f61ff379169dcd6ea623d7c92635cd341577b466404aff' 
  AND token = 'ZZDQ6KapTqhJbH3FSeuBOYdZeTqQ0zXO/gUuG7zNDYo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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