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

Query time 0.00037

JSON explain

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