SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '582bd34bb020455b834d43f3971e5f21a004aa70040f76f5209ead0dd8c743e9' 
  AND token = 'sNqglRfBW4tNregsFJYtKkqhrJ3p3PsU1lUuaPuwGL0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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