SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9fd8be738919653a6846f85d8c2175e66362c137b87784fa67c22c6285a10c4e' 
  AND token = 'BjjiHwMGXQayhMU716guAWU7pwJI38bVzk8036sJpWE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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