SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7dde7632835c13604482492c55107d72ee18c0a2f6405c0ef82eb4b15042c6c5' 
  AND token = 'wUw7g12lcrCP1Io2wJuTIqngJnqPLgSDM40vDQCWCU8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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