SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b7a4e4a0511e51c7ea2ec04f75808bb4b90d61f1ddb82fde211cbd6eaaedd50' 
  AND token = '4rK3dt8AYZ4sd/sO0omBTuoZTXvHjRn5WchaWvU9Fds=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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