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

Query time 0.00045

JSON explain

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