SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd219cd65fa010cd7c0059bd77c111e1f38c670ab550801ed8af179cd5a0ccf9c' 
  AND token = 'd7l3ru97/oxCGyy2WBJvmBUROAML2kumewbu/VjM67M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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