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

Query time 0.00032

JSON explain

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