SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1f1c8a3868801f57fcb0a3afc55e6d02491b07e0d253a05b1bc32c2b78ab1d2' 
  AND token = 'SlYsVIq+cCMpiE/DhEgNvHqkGtj8Cat6ADLdKjdHqMo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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