SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2ae73aa7e261f30febcab60ade4782c42cc00e1acb5668adf5f185bfbcb1ecf' 
  AND token = 'l5wKwg6XyVsKDQ4hHYLtElL1dBc9epOQocNNpPGkaD0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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