SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9fda9e3c76e65030b0f477bf1c98d6f6a9fd3db11462139a39d1341eb9e407b4' 
  AND token = 'Qiw8CP+BNARqYtWJ47EWN+ZsrAErAE1kt8YRUeg/4vQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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