SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2f6499c1edae8b94d200fa8cf482d8e61e18969e0207d7a00ce105a312cc11b' 
  AND token = 'ouSzuiSp7jcSUreI3vCc5IBm4T5PEg7/yxlzIy9DiXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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