SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a194993da3c7627e25d9eea0385018535b454763e35ea447d1b34757bedb080' 
  AND token = 'JFsbaOVGIZyuY5YyrbdE0Im7Qn/t4DlXnImVW5x/uhk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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