SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9db0451c8878faade5e3d3ac937d4f71509fd89ae00d699002a90b98c84d8f7' 
  AND token = 'BH3pCQsW607y6Mt2+i4YTFhACA5wUWJjOmslF0ZrI4g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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