SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27bb21bff9fce047f71be22fa1ef436a140fb123e361fe0dd7be6b00b050cabe' 
  AND token = 'Im33MA/fAqRudGV6v6WNFF6pCjnOpP0bfl/ZjBWGtB0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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