SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e52161a7631f6346bf1c72cfb3180d6f6ffebb0f5d4af853b3164ff849483ffc' 
  AND token = 'qWiQU5IcyJSvtD+RQoG76kW7mBeL5cK/BEYgSrgBsxI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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