SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f02e12b7683dab9eb25acec9d293dacc952e2d8c9a4d805a0882826276782866' 
  AND token = 'v9+uA0oosjsNSZydXx6AQ/i+7Kh3ZJ4JUjZ6HBdy8lM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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