SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4065cde43b7ce3db366219c8219f9d14c947a1ec17b419b9838c0833e9ee1f5' 
  AND token = 'OkP7nhapMmgZjcWsV/6anJN1pJBMJYm3BHn+mxNwf1A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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