SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '099de6d2f8e445efd75dce309d6a39557c215e82cd1a4766147e3ef956432c96' 
  AND token = 'c2L9GV3ko3E/XU5VLXis/O+d441ImvCWTc77+8/l2vs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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