SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7ddd11062f02d06ed3b95ece1ed30fcc3d883e2f58b8dfdfc073ee7dc2e21b5' 
  AND token = 'Te6jr3HeEacfHY8Xlmb4bmvPUCXxfG8/r4p21hy4IHg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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