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

Query time 0.00046

JSON explain

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